package com.jic.product.model.entity;

import com.jic.product.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

//import javax.validation.constraints.NotEmpty;
@Data
@NoArgsConstructor
@ApiModel(description = " m_store_virtual_shop_rel ")
public class MStoreVirtualShopRel extends BaseEntity{
	private static final long serialVersionUID = 1L;
    // @NotEmpty(message = "主键") 
    @ApiModelProperty(notes = "主键")
    private Long id;

    // @NotEmpty(message = "虚拟仓库Id") 
    @ApiModelProperty(notes = "虚拟仓库Id")
    private Long vitualId;

    // @NotEmpty(message = "店铺Id") 
    @ApiModelProperty(notes = "店铺Id")
    private Long shopId;

    // @NotEmpty(message = "百分比") 
    @ApiModelProperty(notes = "百分比")
    private BigDecimal percent;

    // @NotEmpty(message = "阈值") 
    @ApiModelProperty(notes = "阈值")
    private Integer threshold;

    @ApiModelProperty(notes = "店铺类型:1-线上店铺,2-线下店铺;")
    private Integer shopType;

    @ApiModelProperty(notes = "分配模式:1-独占比例;2-共享比例;")
    private Integer deliveryType;

}
